package com.zy.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zy.business.domain.TbWorkReport;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 汇报Mapper 接口
 */
public interface WorkReportMapper extends BaseMapper<TbWorkReport> {

    List<TbWorkReport> getList(@Param("userId") Long userId, @Param("copyId") Long copyId);

    Map<String, Object> getWorkReport(@Param("userId") Long userId, @Param("type") Integer type);
}
